#include<iostream>
#include<iomanip>
using namespace std;
double a, b, c, d,gg;

double f(double x)
{
	return a * x * x * x + b * x * x + c * x + d;
}

int main()
{
	cin >> a >> b >> c >> d;
	cout << fixed << setprecision(2);
	for (double i = -100.0; i < 100.0; i += 1.0)
	{
		double g1 = i, g2 = i + 1.0;
		if (f(g1) == 0)
		{
			cout << i << ' ';
			continue;
		}
		else if (f(g1) * f(g2) < 0)
		{
			while (g2 - g1 >= 0.001)
			{
				gg = (g2 + g1) / 2;
				if ((f(g1) * f(gg)) <= 0)
					g2 = gg;
				else
					g1 = gg;
			}
			cout << gg << ' ';
		}
	}
	return 0;
}